var root=ui("$");
var qqmath = require("util/qqmath");
var pPrice = ui("pPrice");
//设置数据绑定的映射关系
root.setMapping({
	"pFirstImg.source":"firstImg",
	"pName.text":"name",
	"pPrice.text" :"price",
	"pPrice.tag":"unit",
	"pResume.text":"resume",
});
root.on("dataRefreshed", function(){
	pPrice.text = qqmath.getDight(pPrice.text,2) + "元/" + pPrice.tag;
});